//管理员数组 account:账号  psd：密码  empNo:员工编号
var managersArr = [{
    "id": "m001",
    "account": "admin",
    "psd": "123",
    "empNo": "e004",
    "zhiyename": "管理员",
    "zhiyeMiaosu": "最厉害的，牛掰",
}];

//职位数组    cNo:管理的班级编号   sNo:负责的学校id    empNo:员工编号
// isManagActives,isManagSchool,isManagStu,isManagClass:是否拥有对应的管理权限，默认true
var zhiweiArr = [
    //董事长
    {
        "account": "001",
        "psd": "123",
        "zhiyename": "董事长",
        "zhiyeMiaosu": "整个都可以管理",
        "isygguanli": "true",
        "isbmguanli": "true",
        "isManagActives": "true",
        "isManagSchool": "true",
        "isManagStu": "true",
        "isManagClass": "true",
        "isDiquTj": "true",
        "isschoolTj": "true",
    },
    //经理
    {
        "account": "002",
        "psd": "123",
        "zhiyename": "经理",
        "zhiyeMiaosu": "管理学校班级部门",
        "isygguanli": "true",
        "isbmguanli": "true",
        "isManagActives": "true",
        "isManagSchool": "true",
        "isManagStu": "true",
        "isManagClass": "true",
        "isDiquTj": "false",
        "isschoolTj": "false",
    },
    //老师
    {
        "account": "003",
        "psd": "123",
        "empNo": "e001",
        "cNo": "c001",
        "sNo": "s001",
        "zhiyename": "老师",
        "zhiyeMiaosu": "仁爱的管理学校班级",
        "isygguanli": "false",
        "isbmguanli": "false",
        "isManagActives": "true",
        "isManagSchool": "true",
        "isManagStu": "true",
        "isManagClass": "true",
        "isDiquTj": "false",
        "isschoolTj": "false",
    },
    //助理
    {
        "account": "004",
        "psd": "123",
        "zhiyename": "助理",
        "zhiyeMiaosu": "帮助管理学校班级部门",
        "isygguanli": "true",
        "isbmguanli": "true",
        "isManagActives": "true",
        "isManagSchool": "true",
        "isManagStu": "true",
        "isManagClass": "true",
        "isDiquTj": "false",
        "isschoolTj": "false",
    }
]

//首页数组
var homeArr = [{
    time: "",
    zhanghao: ""
}]
//部门数组     intro:部门简介      startTime：成立时间
var departmentsArr = [{
        "id": "d001",
        "name": "财务部",
        "startTime": "2018-11-29",
        "pople": "小王",
        "intro": "负责编制单位预、决算工作，统筹安排，合理使用各项资金，有效保障单位正常运转与事业持续发展的资金需要"
    },
    {
        "id": "d002",
        "name": "人事部",
        "startTime": "2018-12-2",
        "pople": "小五",
        "intro": "人力资源管理部门是公司和员工之间的桥梁,负责招聘管理员工,协调在薪资、福利、考核、招聘、培训过程中出现的种种内部矛盾和冲突。"
    },
    {
        "id": "d003",
        "name": "教务部",
        "startTime": "2018-11-20",
        "pople": "小黑",
        "intro": "负责学生培训,班级的管理及学校的接洽"
    },
    {
        "id": "d004",
        "name": "行政部",
        "startTime": "2018-11-28",
        "pople": "小哈",
        "intro": "管理公司日常事务及运作"
    },
    {
        "id": "d005",
        "name": "宣传部",
        "startTime": "2018-12-10",
        "pople": "小嘿",
        "intro": "市场推广，提高培训机构知名度，保证学员来访量"
    },
    {
        "id": "d006",
        "name": "咨询部",
        "startTime": "2018-12-10",
        "pople": "小哼",
        "intro": "负责学员接待、咨询、促成成交，也会有主动电话营销约访学员上门。"
    }
];


//员工数组   position：所在职位  tel：联系方式 level：文化程度
//bmNo：所在部门id 若为d000则为待定
var employeesArr = [{
        "id": "e001",
        "bmNo": "d001",
        "name": "小张",
        "sex": "男",
        "position": "CEO",
        "tel": 12345678912,
        "birthday": "2002-12-11",
        "level": "高中"
    },
    {
        "id": "e002",
        "bmNo": "d002",
        "name": "小杨",
        "sex": "女",
        "position": "保洁",
        "tel": 12345678912,
        "birthday": "2001-01-21",
        "level": "本科"
    },
    {
        "id": "e003",
        "bmNo": "d003",
        "name": "小何",
        "sex": "女",
        "position": "厨子",
        "tel": 12345678912,
        "birthday": "1999-11-30",
        "level": "高中"
    },
    {
        "id": "e004",
        "bmNo": "d004",
        "name": "小王",
        "sex": "男",
        "position": "技术总监",
        "tel": 12345678912,
        "birthday": "1996-07-11",
        "level": "本科"
    },
    {
        "id": "e005",
        "bmNo": "d004",
        "name": "小周",
        "sex": "女",
        "position": "经理",
        "tel": 12345678912,
        "birthday": "1998-05-11",
        "level": "研究生"
    },
    {
        "id": "e006",
        "bmNo": "d002",
        "name": "小韩",
        "sex": "女",
        "position": "食堂阿姨",
        "tel": 12345678912,
        "birthday": "1997-01-19",
        "level": "高中"
    },
    {
        "id": "e007",
        "bmNo": "d001",
        "name": "小贾",
        "sex": "女",
        "position": "保安",
        "tel": 12345678912,
        "birthday": "1995-08-03",
        "level": "专科"
    },
    {
        "id": "e008",
        "bmNo": "d003",
        "name": "小扎",
        "sex": "男",
        "position": "董事长",
        "tel": 12345678912,
        "birthday": "1996-09-10",
        "level": "本科"
    },
];

//班级数组
// tNo:班主任id    number:班级人数     startTime:开班时间    tName:老师名字   scid:对应学校id
var classArr = [{
        "id": "c001",
        "scid": "sc001", //成都第一中学
        "cityNo": "ct001", //成都市
        "name": "1班",
        "tNo": "t001",
        "tName": "何开心",
        "number": "50",
        "startTime": "2016-12-11"
    },
    {
        "id": "c002",
        "scid": "sc001", //成都第一中学
        "cityNo": "ct001", //成都市
        "name": "2班",
        "tNo": "t002",
        "tName": "杨迷糊",
        "number": "45",
        "startTime": "2017-12-13"
    },
    {
        "id": "c003",
        "scid": "sc001", //成都第一中学
        "cityNo": "ct001", //成都市
        "name": "3班",
        "tNo": "t003",
        "tName": "张怼怼",
        "number": "43",
        "startTime": "2017-12-23"
    },
    {
        "id": "c004",
        "scid": "sc001", //成都第一中学
        "cityNo": "ct001", //成都市
        "name": "4班",
        "tNo": "t004",
        "tName": "扎潜水",
        "number": "51",
        "startTime": "2018-11-29"
    },
    {
        "id": "c005",
        "scid": "sc002", //成都第二中学
        "cityNo": "ct001", //成都市
        "name": "11班",
        "tNo": "t005",
        "tName": "贾美丽",
        "number": "54",
        "startTime": "2019-10-29"
    },
    {
        "id": "c006",
        "scid": "sc002", //成都第二中学
        "cityNo": "ct001", //成都市
        "name": "14班",
        "tNo": "t006",
        "tName": "韩厉害",
        "number": "25",
        "startTime": "2019-12-22"

    },
    {
        "id": "c007",
        "scid": "sc003", //绵阳中学
        "cityNo": "ct002", //绵阳市
        "name": "12班",
        "tNo": "t007",
        "tName": "周小跳",
        "number": "44",
        "startTime": "2019-12-04"
    },
    {
        "id": "c008",
        "scid": "sc004", //南山中学
        "cityNo": "ct002", //绵阳市
        "name": "13班",
        "tNo": "t008",
        "tName": "王可以",
        "number": "32",
        "startTime": "2020-12-18"
    }
];
//学校数组
// tNo:负责人id   cityNo:所在的市的id  principal:校长  startTime：录入时间  State：状态
var schoolArr = [{
    "id": "sc001",
    "name": "成都第一中学",
    "principal": "肖明",
    "tNo": "t001",
    "tName": "何开心",
    "cityNo": "ct001",
    "startTime": "2020-12-29",
    "State": "待审"
}, {
    "id": "sc002",
    "name": "成都第二中学",
    "principal": "谭微",
    "tNo": "t002",
    "tName": "杨迷糊",
    "cityNo": "ct001",
    "startTime": "2020-12-30",
    "State": "待审"
}, {
    "id": "sc003",
    "name": "绵阳中学",
    "principal": "梁星",
    "tNo": "t005",
    "tName": "贾美丽",
    "cityNo": "ct002",
    "startTime": "2020-12-30",
    "State": "待审"
}, {
    "id": "sc004",
    "name": "南山中学",
    "principal": "李亚龙",
    "tNo": "t007",
    "tName": "周小跳",
    "cityNo": "ct002",
    "startTime": "2020-12-12",
    "State": "待审"
}];

//学校活动数组
// tNo:负责人id   title:活动主题  schoolNo:学校id  startTime：录入时间  tNo：负责人id  content:活动描述
// State：活动审批状态（通过/未通过/待审/接洽中）
var schoolActiveArr = [{
        "id": "a001",
        "schoolName": "成都第一中学",
        "schoolNo": "sc001",
        "principal": "肖明",
        "startTime": "2020-11-29",
        "title": "元旦节日",
        "tNo": "t001",
        "content": "元旦节日",
        "activeTime": "2021-01-01",
        "activeTel": "13789011267",
        "State": "待审"
    },
    {
        "id": "a002",
        "schoolName": "成都第二中学",
        "schoolNo": "sc002",
        "principal": "谭微",
        "startTime": "2020-12-30",
        "title": "元旦节日",
        "tNo": "t002",
        "content": "元旦节日",
        "activeTime": "2021-01-01",
        "activeTel": "13689012337",
        "State": "待审"
    },
    {
        "id": "a003",
        "schoolName": "成都七中",
        "schoolNo": "sc003",
        "principal": "李天",
        "startTime": "2020-12-03",
        "title": "元旦节日",
        "tNo": "t003",
        "content": "元旦节日",
        "activeTime": "2021-01-01",
        "activeTel": "15289013227",
        "State": "审核通过"
    },
    {
        "id": "a004",
        "schoolName": "成都树德中学",
        "schoolNo": "sc004",
        "principal": "张翠花",
        "startTime": "2020-12-05",
        "title": "元旦节日",
        "tNo": "t004",
        "content": "元旦节日",
        "activeTime": "2021-01-01",
        "activeTel": "16789067867",
        "State": "审核通过"
    },
    {
        "id": "a005",
        "schoolName": "绵阳中学",
        "schoolNo": "sc005",
        "principal": "梁星",
        "startTime": "2020-12-07",
        "title": "元旦节日",
        "tNo": "t005",
        "content": "元旦节日",
        "activeTime": "2021-01-01",
        "activeTel": "18480081287",
        "State": "接洽中"
    },
    {
        "id": "a006",
        "schoolName": "绵阳南山中学",
        "schoolNo": "sc006",
        "principal": "李亚龙",
        "startTime": "2020-12-12",
        "title": "元旦节日",
        "tNo": "t006",
        "content": "元旦节日",
        "activeTime": "2021-01-01",
        "activeTel": "19089011007",
        "State": "待审"
    },
    {
        "id": "a007",
        "schoolName": "绵阳实验中学",
        "schoolNo": "sc007",
        "principal": "王雪",
        "startTime": "2020-12-14",
        "title": "元旦节日",
        "tNo": "t007",
        "content": "元旦节日",
        "activeTime": "2021-01-01",
        "activeTel": "16989011097",
        "State": "接洽中"
    },
    {
        "id": "a008",
        "schoolName": "绵阳科学城一中",
        "schoolNo": "sc008",
        "principal": "龚梓",
        "startTime": "2020-12-26",
        "title": "元旦节日",
        "tNo": "t008",
        "content": "元旦节日",
        "activeTime": "2021-01-01",
        "activeTel": "14789015697",
        "State": "审核通过"
    },
];

var schoolActiveMainArr = [{
        "id": "a001",
        "schoolName": "成都第一中学",
        "schoolNo": "sc001",
        "principal": "肖明",
        "startTime": "2020-11-29",
        "title": "元旦节日",
        "tNo": "t001",
        "content": "元旦节日",
        "activeTime": "2021-1-1",
        "activeTel": "13789011267",
        "State": "待审"
    },
    {
        "id": "a002",
        "schoolName": "成都第二中学",
        "schoolNo": "sc002",
        "principal": "谭微",
        "startTime": "2020-12-30",
        "title": "元旦节日",
        "tNo": "t002",
        "content": "元旦节日",
        "activeTime": "2021-1-1",
        "activeTel": "13689012337",
        "State": "待审"
    },
    {
        "id": "a003",
        "schoolName": "成都七中",
        "schoolNo": "sc003",
        "principal": "李天",
        "startTime": "2020-12-03",
        "title": "元旦节日",
        "tNo": "t003",
        "content": "元旦节日",
        "activeTime": "2021-1-1",
        "activeTel": "15289013227",
        "State": "通过"
    },
    {
        "id": "a004",
        "schoolName": "成都树德中学",
        "schoolNo": "sc004",
        "principal": "张翠花",
        "startTime": "2020-12-05",
        "title": "元旦节日",
        "tNo": "t004",
        "content": "元旦节日",
        "activeTime": "2021-1-1",
        "activeTel": "16789067867",
        "State": "通过"
    },
    {
        "id": "a005",
        "schoolName": "绵阳中学",
        "schoolNo": "sc005",
        "principal": "梁星",
        "startTime": "2020-12-07",
        "title": "元旦节日",
        "tNo": "t005",
        "content": "元旦节日",
        "activeTime": "2021-1-1",
        "activeTel": "18480081287",
        "State": "接洽中"
    },
    {
        "id": "a006",
        "schoolName": "南山中学",
        "schoolNo": "sc006",
        "principal": "李亚龙",
        "startTime": "2020-12-12",
        "title": "元旦节日",
        "tNo": "t006",
        "content": "元旦节日",
        "activeTime": "2021-1-1",
        "activeTel": "19089011007",
        "State": "待审"
    },
    {
        "id": "a007",
        "schoolName": "绵阳实验中学",
        "schoolNo": "sc007",
        "principal": "王雪",
        "startTime": "2020-12-14",
        "title": "元旦节日",
        "tNo": "t007",
        "content": "元旦节日",
        "activeTime": "2021-1-1",
        "activeTel": "16989011097",
        "State": "接洽中"
    },
    {
        "id": "a008",
        "schoolName": "绵阳科学城一中",
        "schoolNo": "sc008",
        "principal": "龚梓",
        "startTime": "2020-12-26",
        "title": "元旦节日",
        "tNo": "t008",
        "content": "元旦节日",
        "activeTime": "2021-1-1",
        "activeTel": "14789015697",
        "State": "通过"
    },
];

//学生数组      cNo：班级id  tel:联系方式  schoolNo:所在学校id  State：状态（会员/非会员） address：家庭地址 birth：出生日期 father：父亲名字 fatherTel：父亲联系电话 mother：母亲名字  motherTel：母亲联系电话 note：备注
var studentsArr = [{
        "id": "s001",
        "name": "王敏",
        "sex": "女",
        "age": "14",
        "cNo": "c001",
        "tel": "13335678912",
        "schoolNo": "sc001",
        "State": "会员",
        "address": "四川省成都市武侯区力宝大厦",
        "birth": "2006-02-25",
        "father": "王大东",
        "fatherTel": "13570282259",
        "mother": "张秋燕",
        "motherTel": "13570282295",
        "note": "擅长画画，得过成都市二等奖"
    },
    {
        "id": "s002",
        "name": "李佳佳",
        "sex": "女",
        "age": "13",
        "cNo": "c002",
        "tel": "13345678912",
        "schoolNo": "sc001",
        "State": "非会员",
        "address": "四川省成都市武侯区保利C座",
        "birth": "2007-05-5",
        "father": "李东",
        "fatherTel": "13560282259",
        "mother": "张燕",
        "motherTel": "13560282295",
        "note": "离异家庭"
    },
    {
        "id": "s003",
        "name": "毛大发",
        "sex": "男",
        "age": "14",
        "cNo": "c003",
        "tel": "13745678912",
        "schoolNo": "sc001",
        "State": "会员",
        "address": "四川省成都市恒大山水城",
        "birth": "2006-04-2",
        "father": "毛东",
        "fatherTel": "13571282259",
        "mother": "张秋",
        "motherTel": "13571282295",
        "note": "数字参加过奥数比赛  三等奖"
    },
    {
        "id": "s004",
        "name": "王楠",
        "sex": "女",
        "age": "14",
        "cNo": "c004",
        "tel": "13765678912",
        "schoolNo": "sc002",
        "State": "非会员",
        "address": "四川省成都市武侯区蓝光",
        "birth": "2006-09-15",
        "father": "王大东",
        "fatherTel": "13573282259",
        "mother": "张晓燕",
        "motherTel": "13573282295",
        "note": "擅长画画"
    },
    {
        "id": "s005",
        "name": "张紫",
        "sex": "男",
        "age": "13",
        "cNo": "c005",
        "tel": "13845678912",
        "schoolNo": "sc002",
        "State": "会员",
        "address": "四川省成都市武侯区保利花园",
        "birth": "2007-08-25",
        "father": "张大东",
        "fatherTel": "13570242259",
        "mother": "张梓燕",
        "motherTel": "13570242295",
        "note": "无"
    },
    {
        "id": "s007",
        "name": "杨仔",
        "sex": "女",
        "age": "14",
        "cNo": "c006",
        "tel": "13741678912",
        "schoolNo": "sc003",
        "State": "非会员",
        "address": "四川省成都市武侯区依云上城",
        "birth": "1999-02-25",
        "father": "杨大东",
        "fatherTel": "13570282259",
        "mother": "李秋燕",
        "motherTel": "13570282295",
        "note": ""
    }, {
        "id": "s008",
        "name": "靓仔",
        "sex": "男",
        "age": "14",
        "cNo": "c006",
        "tel": "13825678912",
        "schoolNo": "sc003",
        "State": "非会员",
        "address": "四川省成都市武侯区依云上城",
        "birth": "1999-06-25",
        "father": "李亮",
        "fatherTel": "13570112359",
        "mother": "李燕",
        "motherTel": "13570182295",
        "note": "喜欢运动"
    }, {
        "id": "s009",
        "name": "布丁",
        "sex": "女",
        "age": "14",
        "cNo": "c001",
        "tel": "13945178912",
        "schoolNo": "sc001",
        "State": "非会员",
        "address": "四川省成都市蓝光圣菲",
        "birth": "1999-07-25",
        "father": "暹罗",
        "fatherTel": "13580283259",
        "mother": "橘猫",
        "motherTel": "13573189295",
        "note": "喜欢运动"
    }, {
        "id": "s010",
        "name": "李浩",
        "sex": "男",
        "age": "14",
        "cNo": "c001",
        "tel": "13745688912",
        "schoolNo": "sc001",
        "State": "非会员",
        "address": "四川省成都市蓝光圣菲",
        "birth": "1999-09-25",
        "father": "李大栋",
        "fatherTel": "13508282359",
        "mother": "雷雪",
        "motherTel": "13537182295",
        "note": "喜欢运动"
    }, {
        "id": "s011",
        "name": "韩非",
        "sex": "男",
        "age": "14",
        "cNo": "c005",
        "tel": "13745678912",
        "schoolNo": "sc002",
        "State": "非会员",
        "address": "四川省成都市蓝光圣菲",
        "birth": "1999-09-25",
        "father": "李大栋",
        "fatherTel": "13580282359",
        "mother": "雷雪",
        "motherTel": "13573182295",
        "note": "喜欢运动"
    }, {
        "id": "s012",
        "name": "韩顶",
        "sex": "男",
        "age": "14",
        "cNo": "c005",
        "tel": "13245678912",
        "schoolNo": "sc002",
        "State": "会员",
        "address": "四川省成都市蓝光圣菲",
        "birth": "1999-09-25",
        "father": "韩大栋",
        "fatherTel": "13580282359",
        "mother": "雷雪",
        "motherTel": "13573182295",
        "note": "喜欢运动"
    }, {
        "id": "s013",
        "name": "李雪",
        "sex": "女",
        "age": "14",
        "cNo": "c007",
        "tel": "13945678912",
        "schoolNo": "sc003",
        "State": "会员",
        "address": "四川省成都市蓝光圣菲",
        "birth": "1999-09-25",
        "father": "李大栋",
        "fatherTel": "13580282359",
        "mother": "雷大雪",
        "motherTel": "13573182295",
        "note": "喜欢运动"
    }, {
        "id": "s014",
        "name": "李佳",
        "sex": "女",
        "age": "14",
        "cNo": "c008",
        "tel": "12345678912",
        "schoolNo": "sc004",
        "State": "会员",
        "address": "四川省成都市蓝光圣菲",
        "birth": "1999-09-25",
        "father": "李栋",
        "fatherTel": "13580282359",
        "mother": "雷小雪",
        "motherTel": "13573182295",
        "note": "喜欢运动"
    }
];

//用户编辑记录数组(公告)
var newNotice = [{
    "editUser": "admin",
    "editContent": "增加了一名学生",
    "editTime": "2021-1-1"
}, {
    "editUser": "teacher",
    "editContent": "删除了一名学生",
    "editTime": "2020-1-1"
}, {
    "editUser": "admin",
    "editContent": "修改了一名学生",
    "editTime": "2021-1-1"
}];


//市数组
var cityArr = [{
    "id": "ct001",
    "name": "成都市"
}, {
    "id": "ct002",
    "name": "绵阳市"
}];